<li>
  <div class="product-thumb">
    <a href="" title="">
      <?php
        $image = Category::model()->getCategoryFile($data['id'], 250, 240);
        echo CHtml::image(Yii::app()->baseUrl . "/upload/category/thumbs_250x240/$image", "image", array('class'=>'thumbs-cat'));
      ?>
    </a>
    <div class="product-overlay">
      <a href="<?php echo Yii::app()->baseUrl?>/product/index/catID/<?php echo md5($data['id'])?>" title=""> 
        <span class="icon-external-link"> </span> 
      </a>
    </div>
  </div>
  <div class="details">
    <span class="price"> <?php echo $data['name']?> </span>
  </div>
</li>
